/*
	File:		SapperBot.cpp
	Author:		Ben Feldmann
	Purpose:	Class to manage game SapperBot enemies
*/

#include "SapperBot.h"
#include "SGD Wrappers/CSGD_TextureManager.h"


SapperBot::SapperBot() 
{
	SetHealth(250.0f);
	SetDifficulty(7);
	SetX(600);
	SetY(200);
	SetWidth(64);
	SetHeight(64);
	SetTextureID(CSGD_TextureManager::GetInstance()->LoadTexture(_T("Graphics/Dummy Images/sapperEnemy.png")));
}

SapperBot::~SapperBot() 
{	
	if(GetTextureID() != -1 )
	{
		CSGD_TextureManager::GetInstance()->UnloadTexture(GetTextureID());
		SetTextureID(-1);
	}
}

void SapperBot::Update(float elapsed) 
{

}

void SapperBot::Render() 
{
	if(GetTextureID() != -1)
	{
		CSGD_TextureManager::GetInstance()->Draw(GetTextureID(), int(GetX()), int(GetY()));
	}
}

//bool SapperBot::CheckCollision(IEntity* base) 
//{
//	throw "Not yet implemented";
//}

void SapperBot::Attack() 
{
	throw "Not yet implemented";
}

void SapperBot::SpecialAttack() 
{
	throw "Not yet implemented";
}
